package com.wuh.service;


import com.github.pagehelper.PageInfo;
import com.wuh.model.User;

public interface UserService {

    User login(User user);

    Integer register(User user);

    void editUserInfo(User user);

    User selectUserByName(String  name);

    //根据id获取user信息
    User getUserById(Integer user_id);
    //根据id修改user密码
    int editPasswordById(User user);

    PageInfo<User> getUsers(User user);

    int delUsers(Integer[] ids);

    int freezeUsers(Integer[] ids);

	int unfreezeUsers(Integer[] ids);

}
